{literal}
<style>

    .danhmuc ul.m-left-ex {
        position : static !important;
        display: block;
        border: 0;
    }
    .danhmuc ul.m-left-ex>li{
        border-bottom: none;
        border-top: 1px solid #efefef;
        padding-left: 10px;

    }
    .danhmuc ul.m-left-ex>li>a{
        text-transform: lowercase;
    }
</style>
{/literal}
<div class="title_sidebar"><p>Sản phẩm{if $is_admin}<a href="{$smarty.const.WEB_DIR}category.html" target="new" title="Quản lý danh mục">[Sửa]</a>{/if} </p>
</div>
<div class="danhmuc">

    <ul class="pMenu">
    {foreach from=$topcats item=topcat}
        <li class="m-left ">
            <a {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}style="color: red;" {/if} href="{$topcat.url}" {$topcat.target}>{$topcat.name}</a>
            {if $topcat.subs}
                <ul class="left-sub {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}m-left-ex{/if}">
                    {foreach from=$topcat.subs item=sub name=cat_sub}
                        <li title="{$sub.name}"{* {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}class="abv"{/if}*} id="msub_left_li_{$sub.id}"><a {if $category_id==$sub.id} style="color: red;" {/if}
                                                                                                                                                                                      href="{$sub.url}" {$sub.class}>{$sub.name}</a></li>
                    {/foreach}
                </ul>
            {/if}
        </li>

    {/foreach}
    </ul>
    <div style="clear: both;"></div>
</div>

{*

    <div class="title_sidebar">
        <p>Tin tức mới</p>
    </div>
    <div class="tintuc">
        <div id="conten_main_right-jcarousellite" style="visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px;">
            <ul style="margin: 0px; padding: 0px; position: relative; list-style-type: none; z-index: 1; ">
                <li style="overflow: hidden; float: none; width: 194px; height: 20px; ">
                    <a href="tin/muc125/91.html"> Nội thất gỗ cho phòng </a>
                </li>

            </ul>
        </div>
    </div>
*}



